<!DOCTYPE html>
<html>
<head>
    <meta charset='UTF-8'>
    <title>v-cloak指令</title>
    <style>
        [v-cloak]{
            display:none;
        }
    </style>
</head>
<body>
    <div id="root">
        <div v-cloak>hi,{{name}}</div>
    </div>
    <script src="../js/vue.js"></script>
</body>
<!--   JS   -->
    <script>
    new Vue({
            el:'#root',
            data:{
                name:'陆沉'
            }
        })
    
    </script>
</html>